from urllib.parse import uses_relative

user = {"name": "Alice", "age": 25, "city": "New York"}

# 遍历键（默认行为）
for i in user:
    print(i)

print('####################')
# 遍历值
for i in user.values():
    print(i)

print('####################')
# 遍历键值：
for key,value in user.items():
    print(f'{key},{value}')
